<h3>内容管理
    <small>文章评论管理</small>
</h3>
<div  ng-controller="discussCtrl" class="panel panel-default">
    <div class="panel-heading">
        <form class="form-inline" style="margin-top: 20px">
            <div class="form-group">
                <input type="text" ng-keyup="dataEvent($event)" ng-model="searchKey" class="form-control" style="width: 250px" placeholder="评论人姓名">
            </div>
        </form>
    </div>
    <div class="panel-body " ng-class="loading?'whirl standard':'' " style="border-top: 1px solid #CFDBE2;">
        <table class="table table-striped table-condensed">
            <thead>
            <tr>
                <th>编号</th>
                <th>评论内容</th>
                <th>评论人</th>
                <th>评论时间</th>
                <th>赞</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <!-- repeat begin -->
            <tr ng-repeat="articleListItem in articleList">
                <td>{{articleListItem.articleEvaluateId}}</td>
                <td  style="cursor: pointer" tooltip="{{articleListItem.content}}" tooltip-trigger="mouseenter">{{articleListItem.content.length>20?articleListItem.content.slice(0,19)+'...':articleListItem.content}}</td>
                <td>{{articleListItem.user.realName}}</td>
                <td>{{articleListItem.createTime}}</td>
                <td>{{articleListItem.articleThumbupNum}}</td>
                <td>
                    <!--<a tooltip="发票" tooltip-trigger="mouseenter" class="btn btn-xs btn-danger" ui-sref="cms.productBuy">票</a>-->
                    <!--<a tooltip="链接" tooltip-trigger="mouseenter" class="btn btn-xs btn-info" ng-click="copy()">链</a>-->
                    <!--<a tooltip="评论管理" tooltip-trigger="mouseenter" class="btn btn-xs btn-success" ui-sref="cms.discuss">评</a>-->
                    <!--<a tooltip="预览" tooltip-trigger="mouseenter" class="btn btn-xs btn-primary" ui-sref="cms.editorArticle"><i class="fa fa-eye"></i></a>-->
                    <a tooltip="评论详情" tooltip-trigger="mouseenter" class="btn btn-xs btn-warning" ui-sref="cms.discussDetails({articleEvaluateId:articleListItem.articleEvaluateId,articleId:articleId})"><i class="fa fa-eye"></i></a>
                    <a tooltip="文章删除" tooltip-trigger="mouseenter" class="btn btn-xs btn-danger" ng-click="removeMasterList(articleListItem.articleEvaluateId)"><i class="fa fa-trash-o"></i></a>
                </td>
            </tr>
            <!-- repeat end -->
            </tbody>
        </table>
        <p style="display: inline-block; margin:21px 0;height: 30px;line-height: 30px;"> 显示 <strong>{{turnPage.totalItems}}</strong> 条中的 <strong>{{turnPage.itemsPerPage*(turnPage.currentPage-1)+1}}-{{ToNum}}</strong> 条</p>
        <pagination class="pull-right" first-text="{{turnPage.firstText}}" previous-text="{{turnPage.previousText}}" next-text="{{turnPage.nextText}}" last-text="{{turnPage.lastText}}" total-items="turnPage.totalItems" ng-model="turnPage.currentPage" max-size="turnPage.maxSize"
                    num-pages="numPages" boundary-links="true" ng-change="dataChange()" class="pagination-sm">
        </pagination>
    </div>
</div>